package com.woniuxy.springboot01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author author
 * @Create 2023-09-07 16:00
 * pojo,bean,entity  VO DTO
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Emp {
    private Integer eid;
    private String ename;
    //一对一：一个员工属于一个部门
    private Dep dep;
}
